package com.alks.entity.data.entity.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author: chen
 * @date: 2024/12/27
 * @description: 文件导出记录表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SYS_FILE_EXPORT_RECORD")
@ApiModel(value="文件导出记录表", description="")
public class SysFileExportRecord implements Serializable {
    private static final long serialVersionUID = -1118115084151475495L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "桶")
    private String bucket;

    @ApiModelProperty(value = "文件地址")
    private String fileName;

    @ApiModelProperty(value = "文件原始名称")
    private String original;

    @ApiModelProperty(value = "文件的大小（byte)")
    private Long fileSize;

    @ApiModelProperty(value = "文件状态 0 生成中 1 待下载 1 已下载")
    private Integer status;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "生成时间")
    private LocalDateTime generationTime;

    @ApiModelProperty(value = "下载时间")
    private LocalDateTime downloadTime;

    @ApiModelProperty(value = "删除状态 0 否 1 是")
    private Integer delFlag;
}
